package com.yuanhua.xcxmng.wechat.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.common.collect.Lists;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author hzy24985
 * @version $Id: HistoryTable, v 0.1 2018/8/7 下午10:36 hzy24985 Exp $
 */
@Data
@NoArgsConstructor
public class HistoryTable implements Serializable {
    private List<String> dates = Lists.newArrayList();

    private List<Double> weight = Lists.newArrayList();

    private List<Double> bmi = Lists.newArrayList();

    @JsonProperty("tz_rate")
    private List<Double> tzRate = Lists.newArrayList();

    public HistoryTable(List<String> dates) {
        this.dates = dates;
    }
}
